package com.qidian.mes.pro.service;

import com.qidian.mes.pojo.ProcessStep;
import com.qidian.mes.util.dot.PagerDTO;
import com.qidian.mes.util.pojo.QdResult;
import org.springframework.transaction.annotation.Transactional;
import com.qidian.mes.pojo.Process;

import java.util.List;

/**
 * @Author dqy
 * @Description
 * @Time 2024/4/7 16:09
 */
@Transactional
public interface ProcessService {

    QdResult saveProcess(Process process);
    QdResult<List<Process>> queryAll();
    QdResult<PagerDTO<Process>> queryByPage(Process process, int start, int limit);
    QdResult deleteById(Long processId);
    QdResult deletes(Long [] processIds);
    QdResult updateProcess(Process process);
    QdResult queryById(Long processId);
}
